<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<c:set var="path" value="${pageContext.request.contextPath }" />
<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>个人信息</title>
		<link rel="stylesheet" href="${path }/assets/css/bootstrap.min.css">
		<link rel="stylesheet" href="${path }/assets/css/ie7.css">
		<link rel="stylesheet" href="${path }/assets/css/style.css">				
		<link rel="stylesheet" href="${path }/assets/css/font-awesome.min.css">
		<link rel="stylesheet" href="${path }/assets/css/plugins.css">
		
		<link rel="stylesheet" href="${path }/css/common.css" />
		<link rel="stylesheet" href="${path }/css/shopsManager.css" />
		<link rel='stylesheet' href="${path }/css/style.css" type='text/css' />
		<script type="text/javascript" src="${path }/js/jquery-1.11.1.min.js"></script>
	
	</head>

	<body>
		<header class="header-area header-sticky">
			<div class="header-container">
				<div class="row">
					<div class="col-lg-5 display-none-md display-none-xs">
						<div class="ht-main-menu">
							<nav>
								<ul>
									<li>
										<a href="productIndex">首页<i></i></a>
									</li>
									<li>
										<a href="productlist">水果展览<i></i></a>
									</li>
									<li>
										<a href="fruit.jsp">水果文化<i></i></a>
									</li>
									<li>
										<a href="commentlist">精选评论<i></i></a>
									</li>
									<li>
										<a href="shopping.jsp">购物车<i></i></a>
									</li>
									<li class="active">
										<a href="personalServlet">个人信息<i></i></a>
									</li>
								</ul>
							</nav>
						</div>
					</div>
					
					<div class="col-lg-5 col-sm-8">
					<div class="header-content d-flex justify-content-end">
						<div class="search" style="background: url(assets/img/bg/11.jpg);">
							<div class="search_form">
								<form action="${path }/Search" method="get">
									<input type="text" name="searchWord" placeholder="&nbsp;&nbsp;&nbsp;你要搜寻的商品..."  style="background:url(assets/img/bg/11.jpg);width: 150px;height:34px; border: 1px solid #aaa;">
									<input type="submit" value="搜索" style="background:url(assets/img/bg/11.jpg);width: 50px;height: 34px;text-align: center;
									">
								</form>
							</div>
						</div>

						<div class="settings-wrapper">
							<a style="width: 90px; font-size: 12px;">欢迎您,<i>${username.username }</i></a>
						</div>

						<div class="settings-wrapper">
							<a href="login.jsp">
								<input style="position: absolute; border: none;width: 70px;height: 40px;font-size: 12px;color: orangered; background: url(assets/img/bg/11.jpg);" type="submit" name="" value="点击退出" />
							</a>
						</div>
					</div>
				</div>
				</div>
			</div>						
		</header>
		<c:forEach items="${user }" var="u">
		<div class="wrap">
			<div class="vip_cont c100 clearfix"  style="position:relative;top: 110px;">
				<!--左边列表导航  开始-->
				<div class="fl vip_left vip_magLeft">
					<dl>
						<dt>信息管理</dt>
						<dd>
							<p><a href="#" target="_blank">我购买的宝贝</a></p>
							<p><a href="#" target="_blank">收藏的店铺</a></p>
							<p><a href="shopping.jsp" target="_blank">购物车</a></p>
							<p><a href="#" target="_blank">我的评论</a></p>
							<p><a href="#" target="_blank">基本资料</a></p>
							
						</dd>
					</dl>
				</div>
				<div class="fr vip_right vip_magRight">
					<!--用户信息  开始 -->
					<div class="cus01">
						<div class="cusImg">
							<img src="images/top.jpeg" style="width: 127px; height: 127px;" title="头像" />
						</div>
						<div class="cusName">
							<p title="">个人信息</p>
							<span title="">用户id：${u.id}</span>
							<span title="">用户昵称：${username.username}</span>
						</div>
					</div>
					<ul class="cus02">
						<li>
							<p><span>待发货</span></p>
						<!--<span class="numbers"><font>36</font>件</span>-->
						</li>
						<li>
							<p><span>待收货</span></p>
							<!--<span class="numbers"><font>6</font>件</span>-->
						</li>
						<li>
							<a href="Userupdate?id=${u.id}"><p><span>修改昵称、密码</span></p></a>
						</li>
					</ul>
					
				</div>
				<!--右边列表内容  结束-->
			</div>
		</div>
		</c:forEach>
		
	<script src="${path }/assets/js/bootstrap.min.js"></script>
	<script src="${path }/assets/js/plugins.js"></script>
	<script src="${path }/assets/js/ajax-mail.js"></script>
	<script src="${path }/assets/js/main.js"></script>
	<script type="text/javascript">
								var msg = '${msg}'
								if (msg != null && msg != '') {
									alert(msg);
								} else {
								
								}
		</script>
	</body>

</html>